package demo12;

import java.io.File;

public class test6 {
    public static void main(String[] args) {
            File dir = new File("d:/999/888/777");
            System.out.println(dir.isDirectory());
            System.out.println(dir.isFile());
            System.out.println(dir.mkdirs());
            System.out.println(dir.isDirectory());
            System.out.println(dir.isFile());
    }
}
